package com.ihrm.system.mapper;

import com.ihrm.domain.system.PermissionPoint;
import com.ihrm.domain.system.PermissionPointExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author chentao
 */
@Mapper
@Repository
public interface PermissionPointMapper {
    int countByExample(PermissionPointExample example);

    int deleteByExample(PermissionPointExample example);

    int deleteByPrimaryKey(String id);

    int insert(PermissionPoint record);

    int insertSelective(PermissionPoint record);

    List<PermissionPoint> selectByExample(PermissionPointExample example);

    PermissionPoint selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PermissionPoint record, @Param("example") PermissionPointExample example);

    int updateByExample(@Param("record") PermissionPoint record, @Param("example") PermissionPointExample example);

    int updateByPrimaryKeySelective(PermissionPoint record);

    int updateByPrimaryKey(PermissionPoint record);
}